#ifndef JFILEIO_H
#define JFILEIO_H
//-----------------------------------------------------------------------------
//
//  Name:   jFileIO.h
//
//  Class for writing data results into a text file.
//	
//  
//-----------------------------------------------------------------------------

#include <iostream>
#include <fstream>
#include "string.h"

using namespace std;

class jFileIO
{
protected:
	string DataStream;
	string SearchTimes;
public:
	jFileIO();
	~jFileIO();


	void recieveData(string Date, string LevelName, string Algorithm, string ticksElapsed, string NoAgents, string reCalcuations, string collisions);
	void StreamSearchTimes(int searchtime);
	bool writeToFile(string name);

};

#endif
